#include "input_key.h"
#include "input_sys.h"
#include "driver_key.h"

static int KeyInit(void)
{
   KEY_GPIO_Init();
   return PDSUCCESS;
}


static inputDevice idkey = {
    .name = "KEY",
    .Init = KeyInit,
    .next = NULL
};


void KeyAdd(void)
{
    InDevListIns(&idkey);
}

